package com.sweet.fourtimeoa.service;

import com.sweet.fourtimeoa.pojo.dto.PageDto;
import com.sweet.fourtimeoa.pojo.entity.VehicleManagement;
import com.sweet.fourtimeoa.pojo.entity.VehicleUsage;
import com.sweet.fourtimeoa.pojo.vo.CarVo;
import com.sweet.fourtimeoa.pojo.vo.PageVo;

import java.util.List;

public interface CarService {
    PageVo<VehicleManagement> getAllCar(PageDto pageDto);

    void deleteCarById(Integer carId);

    VehicleManagement getCarById(Integer carId);

    void updateCar(VehicleManagement vehicleManagement);

    void saveCar(VehicleManagement vehicleManagement);

    void saveCarManage(VehicleUsage vehicleUsage);

    List<CarVo> getAllCarId();

}
